<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2020/11/2
  Time: 18:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看学生</title>
</head>
<body>
    <table border="1px" align="center" width="800px">
        <th>编号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>分数</th>
        <c:forEach items="${list}" varStatus="s" var="stu">
            <tr align="center">
                <td>${s.count}</td>
                <td>${stu.name}</td>
                <td>${stu.age}</td>
                <td>${stu.score}</td>
            </tr>
        </c:forEach>

    </table>
</body>
</html>
